#!/bin/bash

read -s -p "Enter Javanile FTP password: " PASSWORD
echo please wait...

LOCALDIR=javanile-common/dist/javadoc
REMOTESERVER=95.110.224.35
REMOTEPATH=/httpdocs/javadoc/
LOGIN=javanile

cd $LOCALDIR
ncftp -u $LOGIN -p $PASSWORD $REMOTESERVER<<FTPCOMMAND
cd $REMOTEPATH/javanile-common
put -R *
exit
FTPCOMMAND

echo done.
